import { ServiceConfig } from './../../common/serviceConfig';
import { EntityObjectFactory } from './../entityObjectFactory';
var EntityObject = EntityObjectFactory.GetEntityObjectType();

export class FrontStoreStock extends EntityObject<FrontStoreStock> {
    constructor(ctx?) { super(ctx); }
    id:string = null;
    storeId: string = null;
    inventoryId: string = null;
    stockEnabled: boolean = false;
    quantity: number = null;
    quantityResetTime: number = null;
    isSoldOut: boolean = false;
    dailyQuantity: number = null;
    soldOutMode: string = 'manual';
    productQuantity: number = null;
    soldOutTime:number = null;
    toString() { return "FrontStoreStock"; }
}
